package cn.iocoder.yudao.module.custom.convert.county;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.custom.controller.admin.county.vo.*;
import cn.iocoder.yudao.module.custom.dal.dataobject.county.CountyDO;

/**
 * 区县信息 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface CountyConvert {

    CountyConvert INSTANCE = Mappers.getMapper(CountyConvert.class);

    CountyDO convert(CountyCreateReqVO bean);

    CountyDO convert(CountyUpdateReqVO bean);

    CountyRespVO convert(CountyDO bean);

    List<CountyRespVO> convertList(List<CountyDO> list);

    PageResult<CountyRespVO> convertPage(PageResult<CountyDO> page);

    List<CountyExcelVO> convertList02(List<CountyDO> list);

}
